package com.lagou.dao;

import com.lagou.domain.PromotionAd;

import java.util.List;

/**
 * @author 李树飞
 */
public interface PromotionAdMapper {

    /*
    分页查询广告信息
     */
    public List<PromotionAd> findAllPromotionAdByPage();

    /*
    广告动态上下线
     */
    public void updatePromotionAdStatus(PromotionAd promotionAd);

    /*
    回显广告信息
     */
    public PromotionAd findPromotionAdById(int id);
}
